package com.ruoyi.web.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class MesCuttingOutbound {
    @TableId
    private String id;
    //出库单编码
    private String outboundCode;
    //机台id
    private String machineId;
    //机台名称
    private String machineName;
    //车间名称
    private String workshopName;
    //出库人
    private String outboundName;
    //出库时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date outboundDate;
    //备注
    private String remark;
    //状态
    private String status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private String createBy;
    private String updateBy;

    @TableField(exist = false)
    private List<MesCuttingOutboundDetail> mesCuttingOutboundDetails;
}
